package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_orga_user_rel")
public class OrgaUserRel {
	@TableId(value = "orgaUserRelId", type = IdType.AUTO)
	private int orgaUserRelId;
	
	@TableField("orgaId")
	private int orgaId;//机构id
	
	@TableField("userId")
	private int userId;//用户id
	
	@TableField("userBlngOrgaDsplSeq")
	private String userBlngOrgaDsplSeq;//用户在所属机构中显示顺序
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除
	
	@TableField("createTime")
	private Date createTime;//创建时间
	
	@TableField("creator")
	private int creator;//创建人
	
	@TableField("updateTime")
	private Date updateTime;//更新时间
	
	@TableField("updater")
	private int updater;//更新人
	
	@TableField("tenantId")
	private int tenantId;//租户id

	public int getOrgaUserRelId() {
		return orgaUserRelId;
	}

	public void setOrgaUserRelId(int orgaUserRelId) {
		this.orgaUserRelId = orgaUserRelId;
	}

	public int getOrgaId() {
		return orgaId;
	}

	public void setOrgaId(int orgaId) {
		this.orgaId = orgaId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserBlngOrgaDsplSeq() {
		return userBlngOrgaDsplSeq;
	}

	public void setUserBlngOrgaDsplSeq(String userBlngOrgaDsplSeq) {
		this.userBlngOrgaDsplSeq = userBlngOrgaDsplSeq == null ? null : userBlngOrgaDsplSeq.trim();
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getUpdater() {
		return updater;
	}

	public void setUpdater(int updater) {
		this.updater = updater;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}
	
	
}
